<%@page import="Model.User.UserList"%>
<%@page import="RssEasy.Core.CookieHelper"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%
    CookieHelper cookie = new CookieHelper(request, response);
    UserList user = new UserList(pageContext);
    cookie.Get("myid");
    user.select("myid,parentmyid,posts,linkname,account,telphone").where("parentmyid=?",cookie.Get("myid")).query();
%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta name="description" content="这里写网站内容描述" />
        <meta name="keywords" content="这里写关键词" />
        <meta name="Robots" contect="all">
        <link href="/css/reset.css" rel="stylesheet" type="text/css" />
        <link href="css/jquery-ui.min.css" rel="stylesheet" type="text/css"/>
        <link href="css/jquery-ui-timepicker-addon.min.css" rel="stylesheet" type="text/css"/>
        <link href="css/sonaccount.css" rel="stylesheet" type="text/css"/>
        <title>企企通-子账号管理</title>
    </head>
    <body>
        <h1>子账号管理</h1>
        <table>
            <thead>
                <tr><td>账号名</td><td>岗位</td><td>姓名</td><td>联系方式</td><td>修改</td><td>删除</td></tr>
            </thead>
            <tbody>
                <%
                    while(user.for_in_rows()){
                %>
                <tr><td class="fir"><%user.write("account");%></td><td><%user.write("posts");%></td><td><%user.write("linkname");%></td><td><%user.write("telphone");%></td><td><a href="/my/modification.jsp?account=<%user.write("account");%>">修改</a></td><td class="del">删除</td></tr>
                <%
                }
                %>
            </tbody>
        </table>
            <%@include file="/inc/js_all.html" %>
            <script src="/my/js/sonaccount.js" type="text/javascript"></script>
    </body>
</html>
